package com.flyco.modules.sms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.flyco.modules.sms.entity.SmsGiftProductRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * @Description: 赠品和产品的关系表
 * @Author: flyco
 * @Date:   2023-02-03
 * @Version: V1.0
 */
@Repository
public interface SmsGiftProductRelationMapper extends BaseMapper<SmsGiftProductRelation> {

    Integer insertProductRelationForCategoryId(@Param("categoryIds") List<Long> categoryIds ,@Param("giftId") Long giftId);

}
